<h1>Listing rating_questions</h1>

<table>
  <tr>
    <th>Question</th>
    <th>Question number</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @rating_questions.each do |rating_question| %>
  <tr>
    <td><%= rating_question.question %></td>
    <td><%= rating_question.question_number %></td>
    <td><%= link_to 'Show', rating_question %></td>
    <td><%= link_to 'Edit', edit_rating_question_path(rating_question) %></td>
    <td><%= link_to 'Destroy', rating_question, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Rating question', new_rating_question_path %>
